﻿using System;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.ComponentModel;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Model;

namespace Control {
	public abstract class ModuloDeGerenciamento<T> {
		protected string output = "";
		protected DataClassesDataContext dc;
		public bool autenticar() {
			return true;
		}
		public abstract List<T> listar();
		public abstract bool adicionar(T obj);
		public abstract bool remover(T obj);
		public abstract bool remover(uint id);
		public abstract T get(uint id);
	}
}
